//
//  YWInformationBankModel.h
//  maintain
//
//  Created by Kyo on 16/5/19.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <Foundation/Foundation.h>
@class YWattachment;
@class YWHandler;

typedef NS_ENUM(NSUInteger, YWInformationType) {
    YWInformationTypePlan = 1, // 方案
    YWInformationTypeReport = 2 //报告
};

@interface YWInformationBankModel : NSObject
/**ID*/
@property (nonatomic, assign) NSInteger infoId;
/**资料类型*/
@property (nonatomic, assign) YWInformationType typeId;
/**资料名称*/
@property (nonatomic, copy) NSString *name;
/**资料类型*/
@property (nonatomic, copy) NSString *buildingId;
/**创建者*/
@property (nonatomic, strong)YWHandler *creator;
/**创建时间*/
@property (nonatomic, assign)NSTimeInterval createTime;
/**资料对象*/
@property (nonatomic, strong) YWattachment *attachment;


@property (nonatomic, assign) NSInteger creatorId;
@property (nonatomic, assign) NSInteger attachmentId;

@end
